import { Component } from '@angular/core';
import { NavController, NavParams, ToastController, AlertController, App } from 'ionic-angular';
import { HostListener } from "@angular/compiler/src/core";
import { IonicStorageModule, Storage } from '@ionic/storage';

export class wyk {
    constructor(
        // private api: Api
    ) {
     
    }
    save(){
               // const wykfun =new wyk();
      // switch (onetopic.FType){
      //   case "10001":wykfun.save(onetopic,);break;
      //   case "10002":onetopic.typename="多选题";break;
      //   case "10003":onetopic.typename="填空题";break;
      //   case "10004":onetopic.typename="主观题";break;
      //   case "10005":onetopic.typename="矩阵题";break;
      //   case "10006":onetopic.typename="打分题";break;
      //   case "10007":onetopic.typename="地区题";break;
      //   case "10010":onetopic.typename="时间题";break;
      //   case "10011":onetopic.typename="排序题";break;
      //   case "10012":onetopic.typename="投票题";break;
      //   case "10013":onetopic.typename="图片题";break;
      //   case "10015":onetopic.typename="下拉题";break;
      //   case "10016":onetopic.typename="比重题";break;
      //   case "10017":onetopic.typename="联动题";break;
      //   case "10018":onetopic.typename="测试选择题";break;
      //   case "10020":onetopic.typename="测试填空题";break;
      //   case "30012":onetopic.typename="行业题";break;
      //   case "30014":onetopic.typename="地图题";break;
      //   default:onetopic.typename="单选题";
      // }
    }
}